\doxysection{logger.\+h}
\hypertarget{logger_8h_source}{}\label{logger_8h_source}\index{logger/include/logger.h@{logger/include/logger.h}}
\mbox{\hyperlink{logger_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00008\ }
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00010\ \textcolor{preprocessor}{\#include\ <vector>}}
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#include\ <ctime>}}
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#include\ <sstream>}}
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#include\ <iomanip>}}
\DoxyCodeLine{00014\ \textcolor{preprocessor}{\#include\ <fstream>}}
\DoxyCodeLine{00015\ }
\DoxyCodeLine{00024\ \textcolor{keyword}{class\ }\mbox{\hyperlink{class_mag_logger}{MagLogger}}\ \{}
\DoxyCodeLine{00025\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00031\ \ \ \ \ \mbox{\hyperlink{class_mag_logger_af874833bef5967536c000746eed82900}{MagLogger}}()\ \{\}}
\DoxyCodeLine{00037\ \ \ \ \ \mbox{\hyperlink{class_mag_logger_ad13cbdf4b33a580b1096aee2aa9a4030}{\string~MagLogger}}()\ \{\}}
\DoxyCodeLine{00044\ \ \ \ \ std::string\ \mbox{\hyperlink{class_mag_logger_aeca59a7fe42b816420492621efd4cbb9}{currentTime}}();}
\DoxyCodeLine{00051\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_a6403d204b8c512b93976a892499b3e0d}{setDebugLog}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00058\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_a47eedafad73f4657ac4d0c4de986d26b}{setInfoLog}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00065\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_a2f2ea25c3e78c352cf4e1a73ffc3f989}{setWarningLog}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00072\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_a4e51d2bc91537cd95a0f4724d59ae0d9}{setErrorLog}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00079\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_a5bdcc3c3fab9dfc49b6307fa7eec3a4f}{setFatalLog}}(\textcolor{keyword}{const}\ std::string\&\ message);}
\DoxyCodeLine{00086\ \ \ \ \ std::vector<std::string>\ \mbox{\hyperlink{class_mag_logger_a51168b6826dd2ada98454cdf66a0c27f}{getDebugLog}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ debugLog;\ \}}
\DoxyCodeLine{00093\ \ \ \ \ std::vector<std::string>\ \mbox{\hyperlink{class_mag_logger_a8ec666d32dcda63ee9ae17771968f3ed}{getInfoLog}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ infoLog;\ \}}
\DoxyCodeLine{00100\ \ \ \ \ std::vector<std::string>\ \mbox{\hyperlink{class_mag_logger_a36799c8320a4d036339ae8120054b54b}{getWarningLog}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ warningLog;\ \}}
\DoxyCodeLine{00107\ \ \ \ \ std::vector<std::string>\ \mbox{\hyperlink{class_mag_logger_af92c7ea97d022f4654095df9c0c1b3e6}{getErrorLog}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ errorLog;\ \}}
\DoxyCodeLine{00114\ \ \ \ \ std::vector<std::string>\ \mbox{\hyperlink{class_mag_logger_a573d53965bdd7c2440e513924e418732}{getFatalLog}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ fatalLog;\ \}}
\DoxyCodeLine{00121\ \ \ \ \ std::vector<std::string>\ \mbox{\hyperlink{class_mag_logger_a4bace1bc22b1cbea96e9dcf18959cc57}{getAllLog}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ magAllLog;\ \}}
\DoxyCodeLine{00122\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00129\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{class_mag_logger_a871395cc8d7389bdf827cc610f3c236a}{exportLog}}(\textcolor{keyword}{const}\ std::string\&\ fileName);}
\DoxyCodeLine{00130\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00131\ \ \ \ \ std::vector<std::string>\ magAllLog;}
\DoxyCodeLine{00132\ \ \ \ \ std::vector<std::string>\ debugLog;}
\DoxyCodeLine{00133\ \ \ \ \ std::vector<std::string>\ infoLog;}
\DoxyCodeLine{00134\ \ \ \ \ std::vector<std::string>\ warningLog;}
\DoxyCodeLine{00135\ \ \ \ \ std::vector<std::string>\ errorLog;}
\DoxyCodeLine{00136\ \ \ \ \ std::vector<std::string>\ fatalLog;}
\DoxyCodeLine{00137\ \};}

\end{DoxyCode}
